package com.justgame.project.service.api.dto;

import com.justgame.project.service.api.entity.JustGameInfo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.Valid;
import java.util.List;

/**
 * 游戏信息表
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class JustGameInfoDTO extends JustGameInfo {

    private List<String> ids;
    /**
     * 云盘资源
     */
    @Valid
    private List<JustGameCloudDTO> clouds;

    /**
     * 平台id
     */
    private List<String> platforms;

    /**
     * 附加资源
     */
    @Valid
    private List<JustGameAdditionDTO> additions;

    /**
     * 游戏类型
     */
    private List<String> types;


    private Boolean isUseOldResource;

    /**
     * 关键字查询
     */
    private String keyword;
}
